package org.lucky_common.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.lucky_common.domain.Admin;
import org.lucky_common.domain.LoginInfo;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class AdminDto implements Serializable {

    private static final long serialVersionUID = 5511011316958393811L;

    private String token;
 
    private Long tokenCreatedDate;
 
    private Long tokenExpiryDate;
 
    private Boolean isLogin;

    private Admin user;

    private LoginInfo employee;
 
    public String getToken() {
        return token;
    }
 
    public void setToken(String token) {
        this.token = token;
    }
 
    public Long getTokenCreatedDate() {
        return tokenCreatedDate;
    }
 
    public void setTokenCreatedDate(Long tokenCreatedDate) {
        this.tokenCreatedDate = tokenCreatedDate;
    }
 
    public Long getTokenExpiryDate() {
        return tokenExpiryDate;
    }
 
    public void setTokenExpiryDate(Long tokenExpiryDate) {
        this.tokenExpiryDate = tokenExpiryDate;
    }
 
    public Boolean getIsLogin() {
        return isLogin;
    }
 
    public void setIsLogin(Boolean isLogin) {
        this.isLogin = isLogin;
    }

    public void setEmployee(LoginInfo employee) {
        this.employee = employee;
    }

    public LoginInfo getEmployee() {
        return employee;
    }
}